package top.aicats.blog.BlogManage.service;

import org.springframework.web.bind.annotation.RequestParam;
import top.aicats.blog.BlogManage.model.BlogContent;

import java.util.List;

/**
 * @author sjc
 * @version 1.0
 * @date 2020/1/11 15:42
 * @email 952491025@qq.com
 */
public interface IBlogContentService {
    Integer insertOneBlog(BlogContent content);

    List<BlogContent> getAllBlogTitleBySubRefid(BlogContent content);

    List<BlogContent> getBlogContentByRefid(BlogContent content);

    List<BlogContent> getBlogTitleInfoByPaging(Integer pageSize,  Integer page,  String sortField,  Boolean desc);
}
